1d597d2e2e0d11ed7ab45ee1c04dd703b10c6935,portal-impl/test/integration/com/liferay/portlet/bookmarks/notifications/BookmarksUserNotificationTest.java,BookmarksUserNotificationTest,addBaseModel,#,53
Before Change
@Override
protected BaseModel<?> addBaseModel() throws Exception {
ServiceContext serviceContext = ServiceTestUtil.getServiceContext(
group.getGroupId());
serviceContext.setCommand(Constants.ADD);
serviceContext.setLayoutFullURL("http://localhost");
After Change
protected BaseModel<?> addBaseModel() throws Exception {
return BookmarksTestUtil.addEntry(
_folder.getFolderId(), true,
ServiceTestUtil.getServiceContext(group.getGroupId()));
}
@Override